package com.thwj.common.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2025-01-19 16:49:14 
 */

@Entity
@Table ( name ="biz_activity_category" , schema = "")
public class BizActivityCategory  implements Serializable {

	private static final long serialVersionUID =  8290706491921977907L;

	@Id
   	@Column(name = "id" )
	private Long id;

	/**
	 * 分类名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 分类icon小图
	 */
   	@Column(name = "icon_pic" )
	private String iconPic;

	/**
	 * 模板大图
	 */
   	@Column(name = "template_pic" )
	private String templatePic;

	/**
	 * 名称专属商家
	 */
   	@Column(name = "name_for_merchant" )
	private String nameForMerchant;

	/**
	 * 排序权重（数值越大越靠前）
	 */
   	@Column(name = "order_weight" )
	private Long orderWeight;

	/**
	 * 是否有效
	 */
   	@Column(name = "valid" )
	private Integer valid;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIconPic() {
		return this.iconPic;
	}

	public void setIconPic(String iconPic) {
		this.iconPic = iconPic;
	}

	public String getTemplatePic() {
		return this.templatePic;
	}

	public void setTemplatePic(String templatePic) {
		this.templatePic = templatePic;
	}

	public String getNameForMerchant() {
		return this.nameForMerchant;
	}

	public void setNameForMerchant(String nameForMerchant) {
		this.nameForMerchant = nameForMerchant;
	}

	public Long getOrderWeight() {
		return this.orderWeight;
	}

	public void setOrderWeight(Long orderWeight) {
		this.orderWeight = orderWeight;
	}

	public Integer getValid() {
		return this.valid;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
					"name='" + name + '\'' +
					"iconPic='" + iconPic + '\'' +
					"templatePic='" + templatePic + '\'' +
					"nameForMerchant='" + nameForMerchant + '\'' +
					"orderWeight='" + orderWeight + '\'' +
					"valid='" + valid + '\'' +
				'}';
	}

}
